package com.skywolf.chem.live.entity;

import java.time.LocalDateTime;

import com.skywolf.chem.common.sysconfig.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 直播信息表
 * </p>
 *
 * @author 
 * @since 2020-11-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="Live对象", description="直播信息表")
public class Live extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "0-下架 1-上架")
    private Integer status;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "摘要")
    private String summary;

    @ApiModelProperty(value = "直播介绍")
    private String introduce;

    @ApiModelProperty(value = "封面图")
    private String coverImg;

    @ApiModelProperty(value = "推荐人")
    private String recommend;

    @ApiModelProperty(value = "演讲者")
    private String speaker;

    @ApiModelProperty(value = "允许直播报名人数")
    private Integer signCount;

    @ApiModelProperty(value = "报名开始时间")
    private LocalDateTime signTime;

    @ApiModelProperty(value = "报名结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "直播开始时间")
    private LocalDateTime liveTime;

    @ApiModelProperty(value = "0-直播  1-回放")
    private Integer playStatus;

    @ApiModelProperty(value = "报名人数")
    private Integer userCount;

    @ApiModelProperty(value = "腾讯云及时通讯-IM群组id")
    private String groupId;

    @ApiModelProperty(value = "推流地址")
    private String pushFlow;

    @ApiModelProperty(value = "拉流地址")
    private String pullFlow;

    @ApiModelProperty(value = "直播录制时长/s")
    private String duration;

    @ApiModelProperty(value = "直播录制文件大小/字节")
    private String fileSize;

    @ApiModelProperty(value = "直播回放地址")
    private String backUrl;

}
